[INFO] fetching crate mono-rs 0.1.10...
[INFO] testing mono-rs-0.1.10 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate mono-rs 0.1.10 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate mono-rs 0.1.10
[INFO] finished tweaking crates.io crate mono-rs 0.1.10
[INFO] tweaked toml for crates.io crate mono-rs 0.1.10 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mono-rs 0.1.10 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29eceab0163635241ea1769cec73f81e7191f473cba91cce0c37954b673e3295
[INFO] running `Command { std: "docker" "start" "-a" "29eceab0163635241ea1769cec73f81e7191f473cba91cce0c37954b673e3295", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29eceab0163635241ea1769cec73f81e7191f473cba91cce0c37954b673e3295", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29eceab0163635241ea1769cec73f81e7191f473cba91cce0c37954b673e3295", kill_on_drop: false }`
[INFO] [stdout] 29eceab0163635241ea1769cec73f81e7191f473cba91cce0c37954b673e3295
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f81c9dd14d3867b87db854a1e37e7a7666f6ac8b737f797b429da603870c475
[INFO] running `Command { std: "docker" "start" "-a" "5f81c9dd14d3867b87db854a1e37e7a7666f6ac8b737f797b429da603870c475", kill_on_drop: false }`
[INFO] [stderr]    Compiling mono-rs v0.1.10 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Exception` is never constructed
[INFO] [stdout]  --> src/exception.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Exception {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]  --> src/thread.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Thread {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 36 |         let cstr = Box::new(CString::new(self).unwrap());
[INFO] [stdout] 37 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 38 |         Box::leak(cstr);
[INFO] [stdout] 39 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_locals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 45 |         let cstr = Box::new(CString::new(self.as_str()).unwrap());
[INFO] [stdout] 46 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 47 |         Box::leak(cstr);
[INFO] [stdout] 48 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s
[INFO] running `Command { std: "docker" "inspect" "5f81c9dd14d3867b87db854a1e37e7a7666f6ac8b737f797b429da603870c475", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f81c9dd14d3867b87db854a1e37e7a7666f6ac8b737f797b429da603870c475", kill_on_drop: false }`
[INFO] [stdout] 5f81c9dd14d3867b87db854a1e37e7a7666f6ac8b737f797b429da603870c475
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2cdc1d01a8a15c3137c85cb74000ccd2fa348112f74712d1a4ac5479641f3bd3
[INFO] running `Command { std: "docker" "start" "-a" "2cdc1d01a8a15c3137c85cb74000ccd2fa348112f74712d1a4ac5479641f3bd3", kill_on_drop: false }`
[INFO] [stderr]    Compiling mono-rs v0.1.10 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Exception` is never constructed
[INFO] [stdout]  --> src/exception.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Exception {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]  --> src/thread.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Thread {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 36 |         let cstr = Box::new(CString::new(self).unwrap());
[INFO] [stdout] 37 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 38 |         Box::leak(cstr);
[INFO] [stdout] 39 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_locals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 45 |         let cstr = Box::new(CString::new(self.as_str()).unwrap());
[INFO] [stdout] 46 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 47 |         Box::leak(cstr);
[INFO] [stdout] 48 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Exception` is never constructed
[INFO] [stdout]  --> src/exception.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Exception {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Thread` is never constructed
[INFO] [stdout]  --> src/thread.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Thread {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 36 |         let cstr = Box::new(CString::new(self).unwrap());
[INFO] [stdout] 37 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 38 |         Box::leak(cstr);
[INFO] [stdout] 39 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_locals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method returns a dangling pointer to dropped local variable `cstr_ptr`
[INFO] [stdout]   --> src/void.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn as_raw_void(self) -> *mut c_void {
[INFO] [stdout]    |                             ----------- return type is `*mut c_void`
[INFO] [stdout] 45 |         let cstr = Box::new(CString::new(self.as_str()).unwrap());
[INFO] [stdout] 46 |         let mut cstr_ptr = cstr.as_ptr();
[INFO] [stdout]    |             ------------ local variable `cstr_ptr` is dropped at the end of the method
[INFO] [stdout] 47 |         Box::leak(cstr);
[INFO] [stdout] 48 |         &mut cstr_ptr as *mut _ as *mut c_void
[INFO] [stdout]    |         -------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         dangling pointer created here
[INFO] [stdout]    |
[INFO] [stdout]    = note: a dangling pointer is safe, but dereferencing one is undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/debug/deps/rustcIiwFxU/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lmono-2.0" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*,libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcIiwFxU/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mono_rs-f7dfaf64a871ab3e" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lmono-2.0
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mono-rs` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2cdc1d01a8a15c3137c85cb74000ccd2fa348112f74712d1a4ac5479641f3bd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cdc1d01a8a15c3137c85cb74000ccd2fa348112f74712d1a4ac5479641f3bd3", kill_on_drop: false }`
[INFO] [stdout] 2cdc1d01a8a15c3137c85cb74000ccd2fa348112f74712d1a4ac5479641f3bd3
